Get FAQ's API
This API will get the FAQ's content for AOK.
- Request Type : GET
- End Point URL : /v1/getFaqs
- Authorization : basic_auth
Parameters :
Parameter | Description |
---|---|
aokid* | AOK id is the AOK specefic unique id. It will filter static html content and get AOK specefic content. |
identifier* | Identifier is the unique string which will used to filter the FAQ pages and load the specefic FAQ page information |
Note :'*' Parameters are required |
- Sample URL : http://site_url/v1/getFaqs?aokid=aokplus&identifier=test
- Response Success Code : 200 OK
- Sample Response
[
{
"title": "Test FAQ",
"id": "test",
"sections": [
{
"title": "Test Section 1",
"questionsAndAnswers": [
{
"question": "Test Section 1 Question 1",
"answer": "Test Section 1 Answer 1",
"categories": "Food, Mental"
},
{
"question": "Test Section 2 Question 2",
"answer": "Test Section 2 Answer 2",
"categories": "Sleep"
}
]
},
{
"title": "Test Section 2",
"questionsAndAnswers": [
{
"question": "Test Section 2 Question 1",
"answer": "Test Section 2 Answer 1",
"categories": "Overall"
}
]
}
]
}
]